package com.hinner.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hinner.entity.User;
import com.hinner.entity.WxUser;
import com.hinner.entity.dto.UserDTO;
import com.hinner.entity.vo.UserVO;
import com.hinner.entity.vo.WeChatSession;

public interface WxUserService extends IService<WxUser> {
    public WeChatSession getSessionKey(String code);

    public WxUser decryptUserInfo(String encryptedData, String sessionKey, String iv) throws Exception;

    // 根据openId查询用户是否存在
    public WxUser findByOpenId(String openId);
}
